all: test_server test_client
CFLAG=-std=c++11 -I /root/muduo/build/release-install-cpp11/include/
LFLAG=-L /root/muduo/build/release-install-cpp11/lib/  -ljsoncpp -lmuduo_net -lmuduo_base -lpthread 
test_server:test_server.cc
	g++  -o $@  $^  $(LFLAG) -lstdc++ $(CFLAG) -g

test_client:test_client.cc
	g++  $(CFLAG) $^ -o $@ $(LFLAG) -g

.PHONY:clean
clean:
	rm -rf test_client test_server